﻿using Mengsk.ProxyDelivery.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mengsk.ProxyDelivery.Print.Domain.PrintDataFormatters
{
    class PrintDataFormatterReceiver_Id : PrintDataFormatter
    {
        public override PrintTemplateItemTypes AcceptType
        {
            get { return PrintTemplateItemTypes.RECIVER_ID; }
        }

        public override object Format(PrintTemplate template, PrintTemplateItem item, Order order)
        {
            return order.PopBuyerId;
        }
    }
}
